package com.woniuxy04;

/**
 * @author 作者
 * @create 2025-05-29 15:14
 */
public class Book {
    private String name;
    private String author;
    private String pulisherName;
    private double price;

    public Book() {
    }

    public Book(String name, String author, String pulisherName, double price) {
        this.name = name;
        this.author = author;
        this.pulisherName = pulisherName;
        this.price = price;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getPulisherName() {
        return pulisherName;
    }

    public void setPulisherName(String pulisherName) {
        this.pulisherName = pulisherName;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }
}
